#ifndef UDPNET_TEST_H_
#define UDPNET_TEST_H_
/*********************************************************/
#include "UnitTest.h"
/*********************************************************/
class UDPNetTest : public UnitTest
{
private:
	bool dataSendSelfTest();		// Sends some test bytes to himself
	bool dataSendRemoteTest();		// Sends data to self over different ports/sockets
	bool eventFlagResponseTest();		// Test if the class correctly flags network traffic
	bool cleanStartStopTest();		// Can the class start & stop cleanly?
	bool doubleStartTest();			// Does the class keep it together when started twice?
	bool doubleStopTest();			// If the class is running will it survive 2 consecutive stops?
	bool idleStopTest();			// If the class isn't running does is survive a stop?
	bool addressReturnTest();		// Check if the class correctly returns the sender address!
	bool sendToTest();			// Check if the class can send to specific address instead of the response address

protected:
public:
	virtual std::string name();		// Returns the name for this unit
	virtual bool runUnitTests();		// Run all tests from this unit
};
/*********************************************************/
#endif //UDPNET_TEST_H_
